﻿using Cysharp.Threading.Tasks;
using System;
using System.Collections.Generic;

/// <summary>
/// 游戏框架初始化接口
/// </summary>
public abstract class GameFrameClassBase
{
    /// <summary>
    /// 依赖类（该类会等待其依赖初始化完毕再进行初始化）
    /// </summary>
    public virtual List<Type> dependences => new List<Type>();

    /// <summary>
    /// 初始化
    /// </summary>
    public abstract UniTask InitAsync();
}